package com.bw.service;

import com.bw.domain.User;
import com.bw.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;
import java.util.ArrayList;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    private List<User> userList;
    @Autowired
    private UserMapper userMapper;
    @Override
    public User getuser(User user) {
        return userMapper.getuser(user);
    }
}
